package com.vestore.vestoretest.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zzx
 * @since 2023-10-13
 */
@TableName("production_curve")
public class ProductionCurve extends Model<ProductionCurve> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId("ID")
    private String id;
    /**
     * 测点
     */
    @TableField("POINT")
    private String point;
    /**
     * 时间
     */
    @TableField("TIME")
    private String time;
    /**
     * 值
     */
    @TableField("VALUE")
    private String value;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ProductionCurve{" +
        ", id=" + id +
        ", point=" + point +
        ", time=" + time +
        ", value=" + value +
        "}";
    }
}
